////
//// Created by shenlf on 2021-12-20.
////
//#include <iostream>
//
//using namespace std;
//
//int main() {
//    int i = 1024, *p = &i, &r = i;
//    cout << i << " " << *p << " " << r << endl;
//    int j = 42, *p2 = &j;
//    int *&pref = p2;
//    cout << *pref << endl;
//    pref = &i;
//    cout << *pref << endl;
//    *pref = 0;
//    cout << i << " " << *pref << endl;
//    return 0;
//}